/*
        2.4 Section
            2.4.1 Slide
            2.4.2 Banner

 */

//slide
.slide {
    background: $second-color;
    padding-top: 30px;
    padding-bottom: 65px;
    @media(max-width: $screen-xs-max) {
        padding-bottom:0;
    }

    .slide-content {
        position: absolute;
        top: 25%;
        left: 7%;
        color: $primary-color;

        h5.brand {
            font-size: 14px;
            letter-spacing: 4px;
            text-transform: uppercase;
            position: relative;
            margin-bottom: 32px;
            display: inline-block;
            font-family: $font-custom;

            &:before {
                content: "";
                position: absolute;
                width: 40px;
                height: 1px;
                bottom: -15px;
                left: 0;
                border-bottom: 1px solid #fff;
            }
            @media (max-width: $screen-xs) {
                font-size: 12px;
                letter-spacing: 2px;
            }
        }
        h3 {
            margin-bottom: 10px;
            font-family: $base-font-family;
            font-family: "Poppins", sans-serif;
            font-size: 40px;
            font-weight: lighter;
            line-height: 45px;
            span.strong {
                font-weight: bold;
                font-size: 48px;
            }
        }
        p {
            font-size: 15px;
            font-family: $font-custom;

            @media (max-width: $screen-xs-max) {
                display:none;
            }
        }
        @media (max-width: $screen-xs-max) {
            top: 15%;
        }
        &.ver2 {
            color: #333;
        }
    }

    .big-banner {
        img {}
    }
}

.slide-img {
    position: relative;
}

// ========= SLIDE HOME PAGE 2==========//
.slide-content.v2 {
    left: unset;
    right: 12%;
    top: 25%;
    h3 {
        font-size: 60px;
        color: $title-color;
        font-weight: bold;
        .strong {
            color: $bgv2-color;
        }
    }
}

//============== SLIDE HOM PAGE 3==============//
.slide-content-ver2 {
    position: absolute;
    padding-left: 56%;
    bottom: 0;
    width: 100%;
    padding-bottom: 11%;
    &.v4 {
        padding-left: 58%;
        padding-bottom: 16%;
        h5 {
            @media(max-width: 320px) {
                display:none;
            }
        }
    }
}

@media(max-width:320px) {
    .slide-button-ver2.v4 {}
}

.slide-content-ver2 {
    h5 {
        font: 16px/20px $font-custom;
        color: #767676;
        padding-left: 10px;
    }
    h3 {
        font: 600 64px $base-font-family;
        color: $title-color;
        padding-left: 10px;
    }
    .slide-button-ver2 {
        font: 600 16px $base-font-family;
        text-decoration: underline;
        color: #6bce04;
        padding-left: 10px;
    }
}

.slide-ribbon {
    position: absolute;
    top: 34%;
    right: 46%;
    font-weight: lighter;
    font-size: 18px;
    width: 160px;
    height: 80px;
    color: #fff;
    @include border-radius(10px);
    text-align: center;
    padding: 5px;
    &.v4 {
        top: 24%;
        right: 43%;
    }
    strong {
        font-size: 36px;
    }
    &:after {
        width: 0px;
        height: 0px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid $bgv2-color;
        content: "";
        position: absolute;
        left: -10px;
    }
    @media (max-width: 1380px) {
        top: 27%;
        right: 46%;
        width: 100px;
        height: 70px;
        font-size: 14px;
        strong {
            font-size: 25px;
        }
    }
}

.features {
    background: $bg-color2;
    padding: 31px 0;
}

div.brand {
    padding: 50px 0;
}

.widget.brand-v1 {
    padding-left: 50px;
    @media (max-width: $screen-sm) {
        padding-left:0;
    }
}

.popular-product .col-md-4:first-child {}

.brand-v1 {
    .product-item.ver1 {
        .prod-item-img {
            @media(min-width: $screen-md) {
                width: 31%;
                padding-right: 10px;
            }
            @media (max-width: $screen-xs-max) {
                width: 40%;
            }
        }
    }
}

//	================ HOMW PAGE 2 ===============//
.features.v2 {
    background: $bgv2-color;
}

.sub-banner {
    position: relative;
}

.sub-banner a {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
}

.sub-banner a:before {
    border-bottom: 50px solid hsla(0, 0%, 100%, .4);
    border-top: 50px solid hsla(0, 0%, 100%, .4);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    transform: rotate(45deg) scaleY(0);
    -o-transform: rotate(45deg) scaleY(0);
    -webkit-transform: rotate(45deg) scaleY(0);
    -moz-transform: rotate(45deg) scaleY(0);
    -ms-transform: rotate(45deg) scaleY(0);
    -webkit-transition: opacity .35s ease 0s, transform .35s ease 0s;
    transition: opacity .35s ease 0s, transform .35s ease 0s;
    transform-origin: 50% 50% 0;
    width: 100%;
}

.sub-banner:hover a:before {
    opacity: 1;
    filter: alpha(opacity=100);
    transform: rotate(45deg) scaleY(4);
    -o-transform: rotate(45deg) scaleY(4);
    -webkit-transform: rotate(45deg) scaleY(4);
    -moz-transform: rotate(45deg) scaleY(4);
    -ms-transform: rotate(45deg) scaleY(4);
}

.sub-banner-title {
    position: absolute;
    top: 50px;
    left: 50px;
    h3 {
        font-size: 28px;
        color: $title-color;
        font-weight: bold;
    }
    p {
        font: 100 20px/30px $base-font-family;
    }
}

.sub-banner-btn {
    bottom: 43px;
    left: 50px;
    position: absolute;
}

.btn-getit {
    font: 600 16px/30px $base-font-family;
    color: $title-color;
    display: inline-block;
    text-decoration: underline;
}

.icon-sub-banner {
    width: 20px;
    height: 20px;
    text-align: center;

    color: #fff;
    line-height: 21px;
    margin-left: 10px;
    display: inline-block;
    @include border-radius(50%);
}

//==============	home page 3==============/
.subbanner {
    @media(min-width: $screen-md) {
        padding:100px 0 30px 0;
    }
}

.features {

    padding: 34px 0;
}

//==============	home page 4==============/
.slide-button-ver2.v4 {
    color: #ff6600;
}

.sub-banner-sm>a {
    display: block;
    width: 100%;
    position: relative;
}

.sub-banner-sm>a:before {
    width: 100%;
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    @include transition2;
}

.sub-banner-sm>a:hover:before {
    opacity: 0;
}

@media(max-width:$screen-xs-max) {
    .sub-banner-sm {
        margin-bottom: 15px;
    }
}

.subbanner.v4 {
    padding-top: 0;
    padding-bottom: 100px;
}

.sub-banner-btn.v4 {
    bottom: 20px;
    right: 29px;
    left: initial;
    position: absolute;
}

.btn-adventure {

    font-size: 12px;
    font-weight: lighter;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0;
    @include transition;
}

.sub-banner-sm:hover .btn-adventure {
    opacity: 1;
    padding: 5px 26px;
    background: $bgv2-color;
}

@media(max-width: $screen-xs-max) {
    .sub-banner-sm img {
        width: 100%;
    }
}

//==============	home page 5==============/
.slide.v5 {
    background: transparent;
}

.sub-banner-ver2 a {
    display: block;
    width: 100%;
    position: relative;
}

.sub-banner-ver2>a:after {
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.48);
    opacity: 0;
    @include transition2;
    @media(max-width: $screen-xs-max) {
        content:none;
    }
}

@media(max-width:$screen-xs-max) {
    .subbanner.v5 .sub-banner-ver2 {
        text-align: center;
        margin-bottom: 15px;
    }
}

.sub-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    @include transition2;
    z-index: 1;
}

.sub-banner-ver2:hover .sub-banner-content {
    opacity: 1;
}

.sub-banner-ver2 a:hover:after {
    opacity: 1;
}

.news {
    text-align: center;


    h3 {
        font: lighter 16px/25px $base-font-family;
        color: #fff;
        @media (max-width: $screen-xs) {
            font-size:14px;
        }
    }
}

.news-content {
    background: #222222;
    padding: 10px 0;
}

.about-us {
    text-align: center;
    padding: 87px 0;
    @media(max-width: $screen-xs-max) {
        padding:30px 0;
    }
    h2 {
        font: 700 32px $base-font-family;
        color: $title-color;
        text-transform: uppercase;
        position: relative;
        display: inline-block;
        margin-bottom: 50px;
        @media(max-width: $screen-sm) {
            font-size:24px;
            margin-bottom: 30px;
        }
        &:before {
            content: "";
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 1px;
            height: 15px;
            border-left: 1px solid;
        }
    }
    p {
        font: Lighter 14px/24px $font-custom;
        padding: 0 261px;
        @media (min-width: $screen-sm) and (max-width: 1024px) {
            padding:0;
        }
        @media(max-width: $screen-xs-max) {
            padding: 0;
        }
    }
}

.btn-read {
    @extend .addcart;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 37px;
    &:hover {
        background: #6bce04;
    }
}

//==============	home page 5==============/
.slide-content-ver3 {
    position: absolute;
    padding-left: 57.5%;
    padding-bottom: 19%;
    bottom: 0;
    width: 100%;
    h3 {
        font-size: 120px;
        font-weight: 600;
        color: #000;
        line-height: 90px;
        @media (max-width: 1380px) {
            font-size: 80px;
            line-height: 55px;
            letter-spacing: -5px;
            text-transform: uppercase;
        }
        @media (min-width: $screen-sm) and (max-width: 1024px) {
            font-size: 50px;
            line-height: 50px;
        }
        @media (max-width: $screen-xs-max) {
            font-size: 50px;
            letter-spacing: 0;
        }
        @media (max-width: $screen-xs) {
            font-size: 24px;
            line-height: 24px;
        }
        strong {
            font-size: 72px;
            color: $primary-color;
            letter-spacing: 0px;
            @media (max-width: 1380px) {
                font-size: 45px;
            }
            @media (max-width: $screen-xs) {
                font-size: 16px;
            }
        }
    }
}

.slide-button-ver3 {
    background: #000;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 500;
    padding: 0 40px;
    line-height: 50px;
    color: $primary-color;
    &:hover {
        color: $colorv2-hover;
    }
    @media (max-width: 1380px) {

        font-size: 14px;
        padding: 0 25px;
        color: #fff;
        font-size: 12px;
        line-height: 30px;
    }
    @media (min-width: $screen-sm) and (max-width: 1024px) {
        margin-top: 0;
    }
    @media (max-width: $screen-xs-max) {
        margin-top: 0;
    }
    @media (max-width: $screen-xs) {
        margin-top: 0;
    }
}

.subbanner.v5 {
    padding-top: 70px;
    @media (max-width: $screen-xs-max) {
        padding-top:30px;
    }
}

.instagram {
    margin-bottom: 100px;
    @media(max-width: $screen-xs-max) {
        margin-bottom: 30px;
    }
}

.instagram-content-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    @include transition2;
    z-index: 1;
    h3 {
        font: lighter 36px $base-font-family;
        color: #fff;
        @media (max-width: $screen-md-max) {
            font-size:28px;
        }
        @media (max-width: $screen-xs-max) {
            font-size: 18px;
        }
    }
}

.instagram-item {
    @extend .sub-banner-ver2;
    & a:before {
        @include transition2;
        content: '\f350';
        font-family: "ionicons";
        color: #000;
        position: absolute;
        width: 27px;
        height: 27px;
        margin: auto;
        top: 0;
        bottom: 20%;
        left: 0;
        right: 0;
        text-align: center;
        line-height: 27px;
        opacity: 0;
        z-index: 1;
        font-size: 36px;
    }
}

.instagram-item a:hover:before {
    color: white;
    opacity: 1;
}

.instagram-item :hover .instagram-content-text {
    opacity: 1;
    color: #fff;
}

@media (max-width: $screen-xs-max) {
    .sub-banner-ver2 img {}


    footer.v5 .content-full {
        padding: 0;
    }
    .photo img {
        width: inherit;
    }
}

//HOME PAGE 2 SLIDE CAPTION======//
.slide-content-ver3.v2 {
    padding-left: 49.5%;
    padding-bottom: 8%;
    @media(max-width: 1380px) {
        padding-left: 51.5%;
        padding-bottom: 5%;
    }
    h3 {
        font-size: 60px;
        letter-spacing: 0;
        margin-bottom: 20px;
        line-height: 80px;
        font-weight: bold;
        @media (max-width: 1380px) {
            font-size:60px;
            line-height: 70px;
            margin-bottom: 0;
        }
        strong {
            font-size: 60px;
            color: #ff6600;
            @media (max-with: 1380px) {
                font-size:45spx;
            }
        }
    }
}

.slide-button-ver3.v2 {
    background: #ff6600;
    padding: 12px 59px;
    text-transform: capitalize;
    &:hover {
        color: #333;
    }
    @media (max-width: 1380px) {
        line-height: 70px;
    }
}

@media (max-width: $screen-xs-max) {
    .slide-content-ver3.v2 {
        padding-bottom: 5%;
    }
    .slide-content-ver3.v2 h3 {
        margin-bottom: 20px;
    }
}

.banner_1 {
    padding: 30px 0;
    @extend .sub-banner;
}

.banner_2 {

    @extend .sub-banner;
}